body {
    /* height: 100vh; */
    width: 100%;
    /* z-index: -1; */
    background-image: linear-gradient(115deg, rgba(58, 58, 158, 0.8), rgba(136, 136, 206, 0.7)), url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: center; */
}

.logo{
position: absolute;
top: -40px;
left: 40px;
width: 150px;
margin-left: 30%;
margin-top: 70px;
display: inline;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
text-decoration: none;
}
.gongsi{
    color: #fff;
    display: block;
    float: right;
    border-bottom: 1px solid #1D3;
    margin-right: 20px;
    font-size: 20px;
}
/* 媒体查询 */
html {
    font-size: 16px;
}

@media screen and (min-width: 375px) {
    html {
        /* iPhone6的375px尺寸作为16px基准，414px正好18px大小, 600 20px */
        font-size: calc(100% + 2 * (100vw - 375px) / 39);
        font-size: calc(16px + 2 * (100vw - 375px) / 39);
    }
}

@media screen and (min-width: 414px) {
    html {
        /* 414px-1000px每100像素宽字体增加1px(18px-22px) */
        font-size: calc(112.5% + 4 * (100vw - 414px) / 586);
        font-size: calc(18px + 4 * (100vw - 414px) / 586);
    }
}

@media screen and (min-width: 600px) {
    html {
        /* 600px-1000px每100像素宽字体增加1px(20px-24px) */
        font-size: calc(125% + 4 * (100vw - 600px) / 400);
        font-size: calc(20px + 4 * (100vw - 600px) / 400);
    }
}

@media screen and (min-width: 1000px) {
    html {
        /* 1000px往后是每100像素0.5px增加 */
        font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000);
        font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
    }
}

/* 布局开始 */
#title {
    color: #fff;
    text-align: center;
    font-size: 30px;
    margin-top: 1.5625rem;
    margin-bottom: .3125rem;
}

header p {
    text-align: center;
    color: #eaeaea;
    font-size: 20px;
    font-weight: 200;
    font-style: italic;
    text-shadow: 1px 1px 1px rgb(0 0 0 .3);
}

/* 表单部分 */

@media (max-width: 480px) {
    .form {
        max-width: 100%;
    }
}

@media (min-width: 576px) {
    .form {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .form {
        max-width: 720px;
    }
}

.form {
    width: 100%;
    /* height: 100%; */
    width: 45rem;
    margin: 1.25rem auto;
    color: #eaeaea;
    background-color: rgba(0, 0, 0, .4);
    padding: .9375rem;
    border-radius: 5px;
}

.form label {
    display: flex;
    font-size: .75rem;
    margin-top: .9375rem;
    align-items: center;
    text-indent: em;

}

.form input[type=text], input[type=number], select {
    width: 100%;
    height: 35px;
    border-radius: .1875rem;
    border: 1px solid #ccc;
    outline: #1D3C75;

    font-size: .75rem;
    color: #495057;
    padding-left: .3125rem;
}

.form input[type=text]:focus-within, input[type=number]:focus-within,select:focus-within {
    border: 1px solid #808dff;
    box-shadow: 0px 0px 4px 1px red;
}

/* .form input[type=text], input[type=number]: {
    border: 1px solid #ccc;
} */

fieldset {
    border: none;
    margin-top: 1.25rem;
}

fieldset label {
    margin-top: .5rem;
}

.form input[type=radio], input[type=checkbox] {
    display: inline-block;
    width: .75rem;
    height: .75rem;
    margin-right: .25rem;
}

.apply {
    font-size: .75rem;
}

textarea {
    border-radius: 3px;
    width: 100%;
    height: 4.375rem;
    padding: .3125rem;
}

textarea::placeholder {
    font-size: .5rem;
    color: #757575;
}

button {
    width: 100%;
    text-align: center;
    font-size: 1.125rem;
    color: #fff;
    height: 1.875rem;
    line-height: 1.25rem;
    background-color: #37AF65;
    border: none;
    border-radius: 5px;
}